package com.kcyu.sfherp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.sql.Timestamp;

@Data
@TableName("user_records")
public class UserRecords {

    @TableId(type = IdType.AUTO)
    private String id;

    private String username;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp operateTime;
    private String url;
    private String value;

    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;




}
